<?
error_reporting (E_ALL);

$dat = $my->today_datetime();

$ip      	= $_SERVER ["REMOTE_ADDR"];
$via     	= $HTTP_VIA;
$real_ip	= $_SERVER ["HTTP_X_FORWARDED_FOR"];
$page_url	= $_SERVER ["REQUEST_URI"];
$from_url	= '';

$my->sql_connect();

$title = ($page>=0)?$my->page_titles[$page]:'';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<title><?=$title;?> -- FO Championships Admin</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<meta name="Author" content="Ivan Grigorchuk">
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
var opera = (navigator.userAgent.indexOf('Opera') >= 0)? true : false;
var nn = (navigator.userAgent.indexOf('Netscape') >= 0)? true : false;
var cssSrc = (opera) ? 'op' : (nn ? 'nn' : 'ie');
var cssTag = '<LINK REL="stylesheet" TYPE="text/css" HREF="css/' + cssSrc + '.css" TITLE="formal">';
document.write(cssTag);

function aMouseOver (aNo) 
{
	var a = document.getElementById('a' + aNo);
	a.style.color = '#ff0000';
}

function aMouseOut (aNo) {
	var a = document.getElementById('a' + aNo);
	a.style.color = '#003399';
}
//-->
</SCRIPT>
</head>
<body bgcolor="#efeeef" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
<?
$escmode = 0;
$ind	= $page;
$count	= 6;
for ($i=0;$i<$count;$i++)
{
?>	
<?=(($i==$ind)?"<strong>":"")?><a id="a<?=$i?>" href="<?=$my->page_hrefs[$i]?>" onmouseover="aMouseOver(<?=$i?>);" onmouseout="aMouseOut(<?=$i?>);"><?=$my->page_titles[$i]?></a><?=(($i==$ind)?"</strong>":"")?>
&nbsp;&nbsp;&nbsp;
<?
}
?>
</div>
<br>
<div align="center">